import axios from '@/libs/api.request'

export const addActivity = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ActivityServiceImpl/addActivity',
    data: data,
    method: 'post'
  })
}

export const updateActivity = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ActivityServiceImpl/updateActivity',
    data: data,
    method: 'post'

  })
}

export const ActivityInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ActivityServiceImpl/ActivityInfo',
    data: data,
    method: 'post'

  })
}

export const MyActivityPageList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ActivityServiceImpl/MyActivityPageList',
    data: data,
    method: 'post'

  })
}

export const PublicActivityPageList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ActivityServiceImpl/PublicActivityPageList',
    data: data,
    method: 'post'
  })
}
